package ebj.common.annotation;

import java.util.Date;

public class DeprecatedTest {

	@Deprecated
	public void speak(){
		System.out.println("Hello world !");
	}
	
	public void showTime() {
		Date date =  new Date();
		System.out.println(date.toLocaleString());
	}
}
